package com.yeyks.activity.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author shuai
 * @date 2019/11/28 19:45
 */
@Data
public class ActivityPrizeTwoUpdateParam implements Serializable {
    private static final long serialVersionUID = -187638025648635458L;

    @NotNull(message = "二级奖品id不能为空")
    @ApiModelProperty(value = "二级奖品id")
    private Integer id;

    @ApiModelProperty(value = "操作人ID", hidden = true)
    private Integer operatorId;

    @ApiModelProperty(value = "奖品图片地址")
    private String prizeImageUrl;

    @ApiModelProperty(value = "奖品中奖返回图片地址")
    private String prizeImageReturnUrl;

    @ApiModelProperty(value = "奖品金额(优惠券类型该值可不填)")
    private Integer prizePrice;

    @ApiModelProperty(value = "发行量(优惠券类型该值可不填)")
    private Integer pubCount;

    @ApiModelProperty(value = "截至兑换日期")
    private Long endTime;

    @ApiModelProperty(value = "百分比 中奖权重")
    private Double chancePercent;

    @ApiModelProperty(value = "优惠券id")
    private Integer couponId;
}
